/*---------------------------------------------------------------------------*\
|* This file is part of the koala project with MIT License.                  *|
|* Copyright (c) James <zhuguangxiang@gmail.com>                             *|
\*--------------------------------------------------------------------------**/

#ifndef _KOALA_IR_LINEAR_SCAN_H_
#define _KOALA_IR_LINEAR_SCAN_H_

#include "ir.h"

#ifdef __cplusplus
extern "C" {
#endif

/* linear scan register allocation */
void do_lsra(KlrFunc *func);

#ifdef __cplusplus
}
#endif

#endif /* _KOALA_IR_LINEAR_SCAN_H_ */
